﻿@model MyWorkBlogMVC.Models.BlogEditModel
@{
    ViewBag.Title = "UserPost";
}
@Styles.Render("~/Content/css")
<link href="~/Content/UserPages.css" rel="stylesheet" />
<div class="jumbotron">
    <img src="~/Content/blogme.PNG" />
</div>
<div class="title"><h2>Edit your account information</h2></div>

<div class="body_wrapper">
    <div class="content">
        

        @using (Html.BeginForm())
        {
            @Html.ValidationSummary()
            <div class="acount_info">

                <div>@Html.LabelFor(m => m.Name)</div>
                <div>@Html.TextBoxFor(m => m.Name, new { @class = "acount_name" })</div>


                <div>@Html.LabelFor(m => m.Description)</div>
                <div>@Html.TextAreaFor(m => m.Description, new { @class = "acount_description" })</div>

                <div>@Html.LabelFor(m => m.Country)</div>
                <div>@Html.TextBoxFor(m => m.Country, new { @class = "acount_country"})</div>

                <div>@Html.LabelFor(m => m.Password)</div>
                <div id="acount_password">@Html.TextBoxFor(m => m.Password, new { @class = "acount_password"})</div>

                <div>@Html.LabelFor(m => m.NewPassword)</div>
                <div>@Html.TextBoxFor(m => m.NewPassword, new { @class = "acount_password" })</div>
                <br/>
                <input type="submit" value="Update details" />
            </div>
        }
        </div>
    </div>
